# encoding: utf-8
__author__ = 'wwj'
def getip(ip):
    return ip
hongkong01 = {
    'ip':getip('47.75.39.50'),
    'pwd' : 'sds...WW22!!eeee',
    'mysqlUser' : 'xiaolei',
    'mysqlPwd' : 'xiaolei',
}
janpan01 = {
    'ip':'47.74.21.140',
    'pwd' : 'dsf::6666,,<<',

}
city = {
    'mongoIp' : '47.75.39.50',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'city',
    'release' : hongkong01,
    'mysqlDb' : 'shantianjunbak',
}

newstorecity = {
    'mongoIp' : '47.75.39.50',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'newdata',
    'mongoTable' : 'store',
    'release' : hongkong01,
    'mysqlDb' : 'shantianjunbak',
    'mysqlTable' : 'store',
}


newcity = {
    'mongoIp' : '47.75.39.50',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'newdatacity',
    'release' : hongkong01,
    'mysqlDb' : 'shantianjunbak',
    'mysqlTable' : 'store',
}

newgirlcity = {
    'mongoIp' : '47.75.39.50',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'newdata',
    'mongoTable' : 'girl',
    'release' : hongkong01,
    'mysqlDb' : 'shantianjunbak',
    'mysqlTable' : 'girl',
}

newmoviecity = {
    'mongoIp' : '47.75.39.50',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'newdata',
    'mongoTable' : 'movie',
    'release' : hongkong01,
    'mysqlDb' : 'shantianjunbak',
    'mysqlTable' : 'movie',
}

newdiarycity = {
    'mongoIp' : '47.75.39.50',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'newdata',
    'mongoTable' : 'diray',
    'release' : hongkong01,
    'mysqlDb' : 'shantianjunbak',
    'mysqlTable' : 'diary',
}

dmm = {
    'mongoIp' : '47.74.21.140',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'dmm',
    'mongoTable' : 'movie',
    'release' : hongkong01,
    'mysqlDb' : 'shantianjunbak',
    'mysqlTable' : 'dmm_av',
}

newdmm = {
    'mongoIp' : '47.74.21.140',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'newdmm',
    'mongoTable' : 'video',
    'release' : hongkong01,
    'mysqlDb' : 'shantianjunbak',
    'mysqlTable' : 'video',
}


dmmimg = {
    'mongoIp' : '47.74.21.140',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'dmm2',
    'mongoTable' : 'img',
    'release' : hongkong01,
    'mysqlDb' : 'shantianjunbak',
    'mysqlTable' : 'video',
}


host2 = {
    'mongoIp' : '47.75.39.50',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'host2',
    'mysqlDb' : 'shantianjunbak',
    'release' : hongkong01,
}

hotel = {
    'mongoIp' : '47.74.21.140',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'hotel',
    'mysqlDb' : 'shantianjunbak',
    'release' : hongkong01,
}

hotelarea = {
    'mongoIp' : '47.74.21.140',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'hotel',
    'mysqlDb' : 'shantianjunbak',
    'release' : hongkong01,
}

xvideo = {
    'mongoIp' : '47.74.21.140',
    'mongoUser' : 'admin321',
    'mongoPwd' : 'dsf::6666,,<<',
    'mongoDb' : 'xvideo',
    'mysqlDb' : 'shantianjunbak',
    'release' : hongkong01,
}

class myException(Exception):
    pass